package com.lh.web.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lh.common.entity.admin.Notice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author FH
 * @ClassName: NoticeMapper
 * @Description: (类作用)
 * @date: 2020-05-08 13:52
 */
@Mapper
public interface NoticeMapper extends BaseMapper<Notice> {

    List<Notice> queryNoticeList(Map<String, Object> param);

    int insertNotice(Notice notice);

    int updateNotice(Notice notice);

    int updateNoticeStatus(Map<String,Object> params);

    int deleteNotice(Long[] nid);
}
